<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateWangwangCustomerServicesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {   //生e经旺旺客服
        Schema::create('wangwang_customer_services', function (Blueprint $table) {
            $table->increments('id');
            //子账号
            $table->string('sub_account')->nullable();
            //回复人数
            $table->string('reply_people_quantity')->nullable();
            //未回复人数
            $table->string('no_reply_people_quantity')->nullable();
            //平均等待时间(秒)
            $table->string('average_waiting_time')->nullable();
            //日在线时长(秒)
            $table->string('day_online_duration')->nullable();
            // $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('wangwang_customer_services');
    }
}
